package org.inote.service.impl;

import org.inote.dao.SpecialtyMapper;
import org.inote.pojo.tablePojo.Specialty;
import org.inote.service.SpecialtyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SpecialtyServiceImpl implements SpecialtyService {

    @Resource
    private SpecialtyMapper specialtyMapper;
    @Override
    public List<Specialty> queryAll() {

        return specialtyMapper.queryAll();
    }
}
